package org.bluedream.core.module.entity.goods;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.bluedream.comm.base.PageEntity;

/**
 * @ClassName BrandItem
 * @Description TODO
 * @Author foxsand
 * @Data 2021-07-26 9:31
 * @Version
 */
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "brandItem")
public class BrandItem extends PageEntity<BrandItem> {
    private static final long serialVersionUID = 3569533520038633947L;
    @NonNull
    private String code;
    @NonNull
    private String name;

    public BrandItem(String id) {
        this.id = id;
    }

    public BrandItem(long limit , long pageSize){
        this.limit = limit;
        this.page = pageSize;
    }
}
